#ifndef TRYNETIMER_H_
#define TRYNETIMER_H_

// By: Jesse Guarascia de Urena
// Timer class
// Regulates time

#include <SDL.h>

class TryneTimer
{
private:
	int startTime; // Time at which the timer began
	int timeElapsed; // Time passed since the timer began
	bool started; // W-o-N the timer has started

public:
	TryneTimer(void);
	~TryneTimer(void);

	// Reset/Start/Stop the timer
	void Start();
	void Reset();
	void Stop();

	// Get the components of the timer
	int TimeElapsed();
	inline bool Started() { return started; }
};

#endif // TRYNETIMER_H_
